<?php

class Platoxfoto extends MY_Model {
 
    function Platoxfoto()
    {
        // Call the Model constructor
        parent::MY_Model();

	$this->nombreTabla = "platoxfoto";
	$this->idT1= "idFoto";

	//$this->nombreCampo="nombre";

		$this->campos[] = array("realname" => "idPlato",
					"clase" => "opciones",
					"label" => "Plato",
					"modelo" => "plato",
					"rules" => "required|integer");

		$this->campos[] = array("realname" => "direccion",
					"clase" => "file",
					"label" => "Foto",
					"types" => "gif|jpg|png|bmp|jpeg",
					"rules" => "");


    }
     
}


?>
